home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id007.dxr / 00052.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  952 b   |  26 lines

  1. on exitFrame
  2.   set LastTick to the ticks
  3.   repeat while the locH of sprite 6 < 147
  4.     set x to 1 * (the ticks - LastTick)
  5.     set LastTick to the ticks
  6.     set the locH of sprite 6 to the locH of sprite 6 + x
  7.     set the locH of sprite 7 to the locH of sprite 7 + x
  8.     set the locH of sprite 4 to the locH of sprite 4 + random(2)
  9.     set the locH of sprite 4 to the locH of sprite 4 - random(2)
  10.     set the locH of sprite 5 to the locH of sprite 5 + random(2)
  11.     set the locH of sprite 5 to the locH of sprite 5 - random(2)
  12.     set the locH of sprite 8 to the locH of sprite 8 + random(2)
  13.     set the locH of sprite 8 to the locH of sprite 8 - random(2)
  14.     set the locV of sprite 8 to the locV of sprite 8 + random(2)
  15.     set the locV of sprite 8 to the locV of sprite 8 - random(2)
  16.     updateStage()
  17.   end repeat
  18. end
  19.  
  20. on mouseUp
  21.   set the visible of sprite 5 to 0
  22.   set the visible of sprite 6 to 0
  23.   set the visible of sprite 7 to 0
  24.   go(81)
  25. end
  26.